package cn.stl.basic.service;

import cn.stl.basic.query.BaseQuery;
import cn.stl.basic.util.PageList;

import java.util.List;

public interface BaseService<T> {
    void save(T t);
    void  remove(Long id);
    void update(T t);
    T loadById(Long id);
    List<T> loadAll();
    PageList<T> queryData(BaseQuery baseQuery);

    void patchDelete(List<Long> ids);
}
